@extends('linfeng.home.person')
@section('title','修改信息')
@section('first-person')
    <div class="setting-detail" id="stthld" style="display: block;">
        <div class="plzhld clearfix">
            <div class="mod-setting-profile">
                <div style="font-size:14px;padding:20px;height:400px;" class="means_content modal-content">
                    <div class="detail-bg"></div>
                    <div class="setting-profile-title yahei">个人详情</div>
                    @foreach($result as $k)
                        <div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">头像:</label>
                                <div class="col-sm-10">
                                @if(!empty($k->icon))
                                    <img style="width: 60px;height: 60px;border: 4px solid #fff;border-radius: 50%;position: absolute;left: 0px;top: -16px;" src="{{asset('image/home/'.$k->icon)}}" alt="">

                                    @else
                                    <img style="width: 60px;height: 60px;border: 4px solid #fff;border-radius: 50%;position: absolute;left: 0px;top: -16px;" src="{{asset('image/home/icon6.png')}}" alt="">
                                    @endif
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">昵称:</label>
                                <div class="col-sm-10">
                                    {{$k->nickname}}
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">性别:</label>
                                <div class="col-sm-10">
                                    <?= $k->sex==1?'男':'女'?>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">生日:</label>
                                <div class="col-sm-10">
                                    {{$k->birthday}}
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">手机号:</label>
                                <div class="col-sm-10">
                                    {{$k->tel}}
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">邮箱:</label>
                                <div class="col-sm-10">
                                    {{$k->email}}
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">持有书币:</label>
                                <div class="col-sm-10" style="color:red">
                                    {{$k->refill==null?'0':$k->refill}}
                                </div>
                            </div>
                        </div>

                    @endforeach
                </div>
            </div>
        </div>
    </div>
@endsection